home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 29
/
Mac Magazin and MacEasy Magazine CD - Issue 29.iso
/
Multimedia
/
VideoIN folder
/
scripting
/
AppleScript for VideoIN starter
next >
Wrap
Text File
|
1996-11-03
|
1KB
|
33 lines
--
-- please don't modify anything outside the "your own stuff" block
-- VideoIN itself doesn't understand the AppleEvents stuff from its
-- Video Input window.
-- Also, if you modify the VideoIN file itself it's posible that it
-- will stop working.
--
tell application "VideoIN"
make new document
set theWin to window "Video Input"
select theWin
tell theWin
activate
-- place here your own stuff
-- the following is an example of what can you do.
videoin full -- sets the video input window to full size
videoin two -- sets the video input window to half size
videoin four -- sets the video input window to 1/4 size
videoin eight -- sets the video input window to 1/8 size
videoin sixteen -- sets the video input window to 1/16 size
videoin rgb -- sets the input mode to rgb color
videoin saveframe -- saves an input video frame
videoin grayscale -- sets the video input to black and white video
videoin saveframe -- save a frame
videoin full -- let's be nice here... reset to full size and rgb color
videoin rgb -- being nice
close -- close the video window
-- End of your own stuff
--
end tell
end tell